package com.rbac.service.test;

import com.common.Result;
import com.rbac.pojo.Department;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface DepartmentService {

    Result save(Department department);
    Result delete(Integer id);
    Result update(Department department);
    Department getDepartmentById(Integer id);
    Result getDepartmentList(Integer pageNum, Integer pageSize);

    List<Department> getDepartmentAllById();
}
